#ifndef _WINGDI_ISS__
#define _WINGDI_ISS__
#include "wtypes.iss"

[code]
const 
  RGN_AND         = 1;
  RGN_OR          = 2;
  RGN_XOR         = 3;
  RGN_DIFF        = 4;
  RGN_COPY        = 5;
  RGN_MIN         = RGN_AND;
  RGN_MAX         = RGN_COPY;

  LOGPIXELSX      = 88;
  LOGPIXELSY      = 90;


function GetDeviceCaps(hdc: HDC; index: Integer): Integer; external 'GetDeviceCaps@gdi32.dll stdcall';
function CreateRectRgn(x1: Integer; y1: Integer; x2: Integer; y2: Integer): HRGN; external 'CreateRectRgn@gdi32.dll stdcall';
function CombineRgn(hrgnDst: HRGN; hrgnSrc1: HRGN; hrgnSrc2: HRGN; iMode: Integer): Integer; external 'CombineRgn@gdi32.dll stdcall';
function DeleteObject(ho: HGDIOBJ): BOOL; external 'DeleteObject@gdi32.dll stdcall';

#endif
